<template>
  <div>
    <PmpItemName v-for="t in topicList" :id="t" :key="t"></PmpItemName>
  </div>
</template>

<script setup>


import { ref, onMounted, watch ,toRaw} from "vue";
import pmpHooks from "@/hooks/PmpHooks.js";


onMounted(async () => {
  await loadPageData();
  //   data.value = pmpHooks.loadPmpDictDetail(props.id)
  //   title.value = pmpHooks.loadPmpDictDetail(props.id).nameCn
});



const topicList = ref([])
async function loadPageData() {
  const res = await pmpHooks.queryTopic()
  topicList.value = res.result;
}
</script>

<style>

</style>